package top.azusall.securitydemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.azusall.model.pojo.Permission;

import java.util.List;

/**
 * @author houmo
 */
@Mapper
public interface RolePermissionMapper {

    List<Permission> getPermissionsByRoleId(@Param("roleId") Long roleId);
}
